package com.hyt.it.ogt.pj.service;

import java.util.List;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hyt.it.ogt.pj.model.entity.ItemScore;
import com.hyt.it.ogt.pj.model.vo.ItemScoreVo;

/**
 * <p>
 * 题目分数表 服务类
 * </p>
 *
 * @author qiaozj
 * @since 2020-07-09
 */
public interface IItemScoreService extends IService<ItemScore> {

    boolean deleteByProjectId(String projectId);

    List<ItemScoreVo> getStudentItemScore(String projectId, String admissionNum);
    
    List<ItemScoreVo> getStudentItemScore(String projectId, String admissionNum, String currUserId);

    void deleteStudentScoreByTaskIdAndEncodeId(String taskId, String encodeId);

    void deleteStudentScoreByTaskIdAndEncodeIdAndUserId(String taskId, String encodeId,String userId);


    List<ItemScoreVo> getStudentItemScoreByAdmissionNums(String projectId, List<String> admissionNums);
}
